<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
    xmlns:bb="">
<head>
    <meta charset="UTF-8">
    <title>Javabb论坛订单服务</title>
    <style>
        .success{
            display: block;
            width: 100px;
            padding: 12px 0;
            margin-bottom: 10px;
            font-size: 20px;
            border-radius: 0;
            cursor: pointer;
            color: #fff;
            background-color: #08bf91;
            border-color: #08bf91;
            text-align: center;
            vertical-align: middle;
            line-height: 1.5;
        }
        .error{
            display: block;
            width: 100px;
            padding: 12px 0;
            margin-bottom: 10px;
            font-size: 20px;
            border-radius: 0;
            cursor: pointer;
            color: #fff;
            background-color: #aa1111;
            border-color: #08bf91;
            text-align: center;
            vertical-align: middle;
            line-height: 1.5;
        }
    </style>
</head>
<body>
<div style="background-color:#ECECEC;">
    <table cellpadding="0" align="center"
           style="margin: 0px auto; text-align: left; position: relative; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; font-size: 14px; font-family:微软雅黑, 黑体; line-height: 1.5; box-shadow: rgb(153, 153, 153) 0px 0px 5px; border-collapse: collapse; background-position: initial initial; background-repeat: initial initial;background:#fff;">
        <tbody>
        <tr>
            <th valign="middle"
                style="height: 25px; line-height: 25px; padding: 15px 35px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #42a3d3; background-color: #49bcff; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;">
                <font face="微软雅黑" size="5" style="color: rgb(255, 255, 255); ">订单确认</font>
            </th>
        </tr>
        <tr>
            <td>
                <div style="padding:25px 35px 40px; background-color:#fff;">
                    <h2 style="margin: 5px 0px; ">
                        <font color="#333333" style="line-height: 20px; ">
                            <font style="line-height: 22px; " size="4" th:text="'当前支付编号：'+${order.payNumber}">
                                亲爱的 123456</font>
                        </font>
                    </h2>
                    <p>订单其他信息</p>
                    <p th:text="'操作账号：'+${order.userId}"></p>
                    <p th:text="'支付商品：'+${order.goodsName}"></p>
                    <p th:text="'订单号：'+${order.orderId}"></p>
                    <br>
                    <a th:href="${#configUtil.getConfigValue('systemUrl')}+'/order/checkSuccess?state=0&orderId='+${order.orderId}" class="success">确认支付</a>
                    <a th:href="${#configUtil.getConfigValue('systemUrl')}+'/order/checkSuccess?state=2&orderId='+${order.orderId}" class="error">取消订单</a>

                    <p align="right" th:text="${#configUtil.getConfigValue('systemName')}">Javabb论坛</p>
                    <p align="right" th:text="${currentDate}"></p>
                    <div style="width:700px;margin:0 auto;">
                        <div style="padding:10px 10px 0;border-top:1px solid #ccc;color:#747474;margin-bottom:20px;line-height:1.3em;font-size:12px;">
                            <p>此为系统邮件，请勿回复<br>
                                请保管好您的邮箱，避免账号被他人盗用
                            </p>
                            <p th:text="'Copyright '+${#configUtil.getConfigValue('systemUrl')}">© portal.javabb.cn</p>
                        </div>
                    </div>
                </div>
            </td>
        </tr>
        </tbody>
    </table>
</div>

</body>
</html>
